package com.yt.product.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 产品类目关系表VO
 *
 * @author lvzeming
 * @Date 2025-08-11 22:57:57
 */
@Data
public class ProductInfoVO implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "重量")
    private Double weight;
    @ApiModelProperty(value = "产品主图地址")
    private String pic;
    @ApiModelProperty(value = "产品图片集合")
    private String pics;
    @ApiModelProperty(value = "产品详情")
    private String notes;
    @ApiModelProperty(value = "是否掌柜推荐（0否，1是）")
    private Integer isRecommend;
    @ApiModelProperty(value = "是否新品上架（0否，1是）")
    private Integer isNew;
    @ApiModelProperty(value = "是否镇店之宝（0否，1是）")
    private Integer isTreasure;
    /**新增字段开始**/
    @ApiModelProperty(value = "折扣价格")
    private BigDecimal discount;
    @ApiModelProperty(value = "商品销量")
    private Integer salesCount;
    @ApiModelProperty(value = "商品评论总数")
    private Integer evaluationCount;
    @ApiModelProperty(value = "商品收藏总数")
    private Integer favoriteCount;
    @ApiModelProperty(value = "品牌(0自有，1京东，2天猫，3苏宁)")
    private Integer brand;
    @ApiModelProperty(value = "库存")
    private Integer inventory;
    @ApiModelProperty(value = "猜你喜欢")
    private List<ProductInfoVO> hotSaleList;
    @ApiModelProperty(value = "商品分类")
    private List<CategoryInfoVO> categoryInfoVOSList;
    /**新增字段结束**/
    @ApiModelProperty(value = "备货时间（天）")
    private Integer stockDays;
    @ApiModelProperty(value = "生产时间")
    private Date productionTime;
    @ApiModelProperty(value = "失效时间")
    private Date expiryTime;
    @ApiModelProperty(value = "颜色")
    private String color;
    @ApiModelProperty(value = "状态（0未删除，1已删除）")
    private Integer status;
    @ApiModelProperty(value = "是否上架(0未上架，1已上架)")
    private Integer isPublish;
    @ApiModelProperty(value = "商品成本价")
    private BigDecimal costPrice;
    @ApiModelProperty(value = "发货时间")
    private Date sendTime;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
